package com.wx.tgp.designpattern.FactoryModePattern.FactoryMethod;

/**
 * 加法类工厂
 */
public class FactorySum implements Factory{

    @Override
    public Operation createOperation(double number1,double number2) {
        return new OperationSum(number1,number2);
    }
}
